window.onload = function(){
    layui.use(['jquery','form'],function(){
        var $ = layui.jquery;
    })
}